package com.smf.lsc.msrf.dubbo.config;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * c微服务引擎dubbo配置信息，包括扫描类、装载dubbo配置xml等
 * @author ln
 *
 */
@Configuration
@EnableDubbo(scanBasePackages = {"com.lsc.*","${lsc.service.package:''}"})
@ImportResource({"classpath*:conf/dubbo-*.xml"})
@ConditionalOnProperty(prefix="lsc.service",name = "type", havingValue = "dubbo")
public class DubboConfig {

}
